package com.iespring.mapper.admin;

import com.iespring.bean.admin.promotion.po.MallCoupon;
import com.iespring.bean.admin.promotion.po.MallCouponUser;
import com.iespring.bean.admin.promotion.po.MallCouponUserExample;
import java.util.List;

import com.iespring.bean.app.coupon.bo.WxCouponPageBo;
import com.iespring.bean.app.coupon.vo.WxCouponPageVo;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * @Author:ZhangShuPeng
 * @Date:2022/12/28/23:16
 * @Description:
 */
public interface MallCouponUserMapper {
    long countByExample(MallCouponUserExample example);

    int deleteByExample(MallCouponUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallCouponUser record);

    int insertSelective(MallCouponUser record);

    List<MallCouponUser> selectByExample(MallCouponUserExample example);

    MallCouponUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallCouponUser record, @Param("example") MallCouponUserExample example);

    int updateByExample(@Param("record") MallCouponUser record, @Param("example") MallCouponUserExample example);

    int updateByPrimaryKeySelective(MallCouponUser record);

    int updateByPrimaryKey(MallCouponUser record);

    List<WxCouponPageVo> selectUserConpon(WxCouponPageBo pageInfo);

    List<MallCouponUser> selectByMallCouponUser(MallCouponUser mallCouponUser);

}